.brand {
    display: flex;
    flex-flow: row wrap;
}

.brand-item {
    text-align: center;
    width: 12.5%;
    margin: 20px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: all .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.brand-item > img {
    border:1px solid #f2f2f2;
}
.brand-item:hover > img  {
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
}